﻿<%@ Page Title="FonShare - Configure Server" Language="C#" MasterPageFile="~/WebPages/FonShare.Master" AutoEventWireup="true" CodeBehind="ConfigureServer.aspx.cs" Inherits="FonShare.ConfigureServer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 135px;
        }
        .style3
        {
            color: #BFCE9D;
            font-weight: bold;
        }
        .style4
        {
            width: 20px;
        }
        .style6
        {
            width: 131px;
            text-align: right;
        }
        .style7
        {
            font-size: small;
        }
        .style8
        {
            width: 240px;
        }
        .style9
        {
            width: 333px;
        }
        .style10
        {
            width: 386px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p class="style3">
        Configure your FTP server.</p>
    <p>
        <table style="width:940px;" align="center" cellpadding="10" cellspacing="10">
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style10">
                    &nbsp;</td>
                <td class="style9">
                    <asp:Label ID="MessageLabel" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td bgcolor="#CFDAB6" class="style8">
                    <asp:HyperLink ID="DashboardHyperLink" runat="server" Font-Bold="True" 
                        NavigateUrl="~/WebPages/Dashboard.aspx">Dashboard</asp:HyperLink>
                    <br />
                    <span class="style7">Go to Dashboard</span></td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style10" rowspan="4">
                    <table cellpadding="0" cellspacing="0" style="width:100%;" bgcolor="#CCFFCC">
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                                &nbsp;</td>
                            <td bgcolor="#CFDAB6" class="style1">
                                &nbsp;</td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                    <asp:Label ID="ServerNameLabel" runat="server" Text="Server Name :" Font-Bold="True"></asp:Label>
                            </td>
                            <td bgcolor="#CFDAB6" class="style1">
                    <asp:TextBox ID="ServerNameTextBox" runat="server"></asp:TextBox>
                            </td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                    <asp:Label ID="IPLabel" runat="server" Text="Server IP :" Font-Bold="True"></asp:Label>
                            </td>
                            <td bgcolor="#CFDAB6" class="style1">
                    <asp:TextBox ID="IPTextBox" runat="server"></asp:TextBox>
                            </td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                    <asp:Label ID="PathLabel" runat="server" Text="Path :" Font-Bold="True"></asp:Label>
                            </td>
                            <td bgcolor="#CFDAB6" class="style1">
                    <asp:TextBox ID="PathTextBox" runat="server"></asp:TextBox>
                            </td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                    <asp:Label ID="LoginLabel" runat="server" Text="Login :" Font-Bold="True"></asp:Label>
                            </td>
                            <td bgcolor="#CFDAB6" class="style1">
                    <asp:TextBox ID="LoginTextBox" runat="server"></asp:TextBox>
                            </td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                    <asp:Label ID="PasswordLabel" runat="server" Text="Password :" Font-Bold="True"></asp:Label>
                            </td>
                            <td bgcolor="#CFDAB6" class="style1">
                    <asp:TextBox ID="PasswordTextBox" runat="server"></asp:TextBox>
                            </td>
                            <td bgcolor="#CFDAB6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td bgcolor="#CFDAB6" class="style6">
                                &nbsp;</td>
                            <td bgcolor="#CFDAB6" class="style1">
                                &nbsp;</td>
                            <td bgcolor="#CFDAB6">
                    <asp:Button ID="ValidateButton" runat="server" onclick="ValidateButton_Click" 
                        Text="Validate" Width="98px" />
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="style9">
                    &nbsp;</td>
                <td class="style8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style9" align="center">
                    &nbsp;</td>
                <td class="style8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style9" align="center" bgcolor="#CFDAB6">
                    <asp:Label ID="TestResultLabel" runat="server" Font-Bold="True"></asp:Label>
                    <br />
                    <br />
                    <asp:Button ID="TestServerButton" runat="server" Font-Bold="False" 
                        onclick="TestServerButton_Click" Text="Test Server" />
                </td>
                <td class="style8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style9">
                    &nbsp;</td>
                <td class="style8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style10">
                    &nbsp;</td>
                <td class="style9">
                    &nbsp;</td>
                <td class="style8">
                    &nbsp;</td>
            </tr>
        </table>
    </p>
</asp:Content>
